package com.rom.ratethehell.protocol.tasks;

import java.io.IOException;
import java.util.List;

import com.rom.ratethehell.Global;
import com.rom.ratethehell.api.services.sneakapic.Sneakapic;
import com.rom.ratethehell.api.services.sneakapic.model.CommonComment;
import com.rom.ratethehell.api.services.sneakapic.model.RequestsRandomPictureRequest;
import com.rom.ratethehell.api.services.sneakapic.model.ResponsesPictureResponse;
import com.rom.ratethehell.entities.Comment;
import com.rom.ratethehell.entities.RatePicture;
import com.rom.ratethehell.protocol.PictureHandler;

import android.content.Context;
import android.graphics.BitmapFactory;
import android.os.AsyncTask;
import android.util.Base64;

public abstract class RandomPictureTask extends SneakAPicTask<RatePicture> {
	public RandomPictureTask(Context c) {
		super(c,true);
	}
	@Override
	protected void doTask() throws Exception {
		setResult( PictureHandler.getInstance().getNextPic() );
	}
	

}
